package cn.yunhe.insurance.util;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Result类
 * @Author杨敏
 */
@JsonInclude(Include.NON_NULL)
public class Result implements Serializable {
    private  Integer code;
    private  String message;
    private List<Object> data =new ArrayList<Object>();

    public Result() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Object> getList() {
        return data;
    }

    public void setList(List<Object> list) {
        this.data = list;
    }
}
